package com.java67.CarRent;

public class Car {
	String name; // 存储车牌信息
	boolean state; // 存储借出状态
	int date; // 存储借出天数
	int count; // 存储借出次数
	double price;

	public void show() {
		String state;
		if (this.state) {
			state = "借出";
		} else {
			state = "在库";
		}
		System.out.println(name + "\t" + state + "\t" + date + "\t" + count + "\t" + price);
	}

}
